<include file="Public:header" />
<div class="main">
    <div class="position"><p>您的当前位置：<a href="/">首页</a>  >  <a href="{:U('Ask/index')}">问答</a> </p></div>
    <div class="m_t_15 overflow_h">
        <div class="boker_left">
            <div class="ask_fenlei">
                <h1 class="ask_fenl">问答分类</h1>
                <volist name='ask_cate_list' id='val'>
                    <h2>{$val.name}</h2>
                    <ul class="overflow_h">
                        <volist name='val.child' id='vo'>
                            <li><a title="{$vo.name}" href="{:U('Ask/lists',array('alias'=>$vo['alias']))}">{$vo.name}</a></li>
                        </volist>
                    </ul>
                </volist>
            </div>

        </div>
        <div class="boker_right">
            <div class="ask_list_r01">
                <p><input style="width: 80%" name="textfield2" type="text" class="inp07" id="askTitle" value="请输入标题" /></p>
                <p><textarea name="textfield3"  style="width: 80%"  class="inp08" id="askInfo">请在这输入问题详细内容描述</textarea></p>
                <p class="overflow_h">
                <span class="adl_list_sp1">
                  <select class="select03" name="select" id="askCateId">
                      <option value="0">--请选择分类--</option>
                      <volist name='ask_cate' id='val'>
                          <option value="{$val.id}">{$val.html}{$val.name}</option>
                      </volist>
                  </select>
                </span>
                    <span class="adl_list_sp2"><a  href="javascript:;" id="askBut" class="but35">提交问题</a></span></p>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="__JS__/jquery.js"></script>
<script type="text/javascript" src="__JS__/layer/layer.js"></script>
<script type="text/javascript" src="__JS__/public.js"></script>
<script type="text/javascript">
    $("#askTitle").fangCmsText();
    $("#askInfo").fangCmsText();
    $("#askBut").click(function(){
        var url = "{:U('Ajax/addAsk')}";
        ask_add(url);
    });
</script>
<include file="Public:footer" />